package com.hypo.business.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author hypo
 * @version 1.0
 * @since 2025/8/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_warehouse_area")
public class WarehouseArea {
    //主键ID
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //库区名字
    private String name;
    //所属仓库ID
    @TableField(value = "warehouse_id")
    private Integer warehouseId;
    //库区类型(字典数据)
    private String category;
    //SaaS标识
    @TableField(value = "saas_id")
    private String saasId;
    //创建时间
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    //创建人账号
    @TableField(value = "create_by")
    private String createBy;
    //修改时间
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
    //修改人账号
    @TableField(value = "update_by")
    private String updateBy;
    //是否删除  1 未删除  2 已删除
    @TableField(value = "is_del")
    private Integer isDel;

    @TableField(exist = false)
    private String warehouseName;
}
